package api

import (
	"developer-branch/api/handler"
	"github.com/gin-gonic/gin"
)

func LoadRouter(r *gin.Engine) {
	api := r.Group("/api")
	{
		user := api.Group("/user")
		{
			user.POST("/login", handler.Login)
		}
		websocket := api.Group("/websocket")
		{
			websocket.GET("/ws", handler.WS)
		}
	}
}
